package com.leyou;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @author RudolfHugh
 * @since 2020/5/29 16:23
 */
@SpringBootApplication
@EnableDiscoveryClient  // 服务发现
@EnableFeignClients // 开启feign的远程调用
@MapperScan("com.leyou.seckill.mapper")
public class LySeckillApplication {
    public static void main(String[] args) {
        SpringApplication.run(LySeckillApplication.class, args);
    }
}
